<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
   xmlns:h="http://java.sun.com/jsf/html"
   xmlns:corejsf="http://corejsf.com">
<h:head>
   <title>A file upload test</title>
</h:head>
<h:body>
   <h:form enctype="multipart/form-data">
      Upload a photo of yourself: 
      <corejsf:upload target="upload/#{user.name}_image.png" />
      <h:commandButton value="Submit" action="next" />
   </h:form>
</h:body>
</html>
